import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import 'vant/lib/index.css';
import { Toast } from 'vant'



// const pinia = createPinia()

// pinia.use(piniaPluginPersistedstate)

createApp(App)
    .use(router)
    .use(createPinia().use(piniaPluginPersistedstate))
    .use(Toast)
    .mount('#app')
